package com.yao.club.entity.dto;

import lombok.Getter;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Getter
@Setter
@Entity
@Table(name = "mall_ad")
public class MallAd {
    @Id
    @Column(name = "id", nullable = false)
    private Integer id;

    @Column(name = "image_url")
    private String imageUrl;

    @Column(name = "name")
    private String name;

    @Column(name = "product_type")
    private String productType;

    @Column(name = "type", length = 50)
    private String type;

    @Column(name = "url")
    private String url;

    @Column(name = "data_id")
    private Integer dataId;

}